package org.darkforest.common.services;

import org.darkforest.model.OrderPay;

import java.util.List;

/**
 * Created by Libing on 2015/7/13.
 */
public interface OrderPayService {

    void insert(OrderPay orderPay);

    /**
     * 根据订单支付条件查询支付信息
     * @param orderPay
     * @return
     */
    List<OrderPay> findOrderPayInfoByCondition(OrderPay orderPay);

    /**
     * 修改订单支付信息
     * @param orderPay1
     */
    void update(OrderPay orderPay1);

    /**
     * 主键查询
     * @param payId
     * @return
     */
    OrderPay selectByPrimaryKey(Integer payId);

    OrderPay selectByOrderSn(Long orderSn);



}
